<?php

defined('_JEXEC') or die();

JHTML::_('behavior.tooltip');

jimport('joomla.application.component.view');

class Easiv2ViewAddExistingInstance extends JView {
	
	function display($tpl = null) {
		
		$this->addToolbar();
		
		$document = JFactory::getDocument();
		$document->addStyleSheet(JURI::base().'/components/com_easiv2/css/easiv2.css');
		
		parent::display($tpl);
	}
	
function addToolbar() {
		JToolbarHelper::title(JText::_('COM_EASIV2_ADDEXISTINGINSTANCES_VIEW_TITLE'), 'checkin.png');
		JToolbarHelper::save('manageInstances.saveInstance', JText::_('COM_EASIV2_ADDEXISTINGINSTANCES_VIEW_BUTTON_SAVE'));
		JToolbarHelper::cancel('manageInstances.cancel', JText::_('COM_EASIV2_ADDEXISTINGINSTANCES_VIEW_BUTTON_CANCEL'));
	}
}